<html>
<head><meta charset="utf-8"><title>breaking changes · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html">breaking changes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="233120969"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233120969" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233120969">(Apr 04 2021 at 23:43)</a>:</h4>
<p>Hey guys, during the discussions of a RFC, I wondered what needs to happen if we want to introduce a breaking change to cargo. There was some talk about "edition change", but I don't understand what that means in context of cargo rather than rust.</p>



<a name="233121222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233121222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233121222">(Apr 04 2021 at 23:48)</a>:</h4>
<p>We do not have as formal a policy about how and when we do braking changes. We try to have them be opted in, like by depending on a flag in the <code>Cargo.toml</code> ( like <code>edition</code> ), but can hadal it other ways when that is not possible. What did you have in mined?</p>



<a name="233121280"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233121280" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233121280">(Apr 04 2021 at 23:49)</a>:</h4>
<p><span class="user-mention" data-user-id="120179">@Eh2406</span> Discussion is about which way to take this RFC, <a href="https://github.com/rust-lang/rfcs/pull/3020">https://github.com/rust-lang/rfcs/pull/3020</a></p>



<a name="233121340"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233121340" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233121340">(Apr 04 2021 at 23:50)</a>:</h4>
<p>Backward compatible by introducing a new key, or changing the existing key and behaviour with 2021 edition</p>



<a name="233121585"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233121585" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233121585">(Apr 04 2021 at 23:55)</a>:</h4>
<p>I have not read that one, yet. My feeling is that we would want it to be a new key to allow for testing. If it is widely liked and used, we can make it opt out in the next edition that roles around. ( like what we are doing with <code>resolver=2</code> ) But it is just my first impression, and not a desition. let alone the desition of the team.</p>



<a name="233121654"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233121654" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233121654">(Apr 04 2021 at 23:56)</a>:</h4>
<p>I was thinking the same. It has been how cargo was being developed, right?</p>



<a name="233122777"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/breaking%20changes/near/233122777" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/breaking.20changes.html#233122777">(Apr 05 2021 at 00:17)</a>:</h4>
<p>Yes, that is a patter we use often.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>